package com.example.importtest.selector;

import com.example.configuration.Teacher;
import org.springframework.context.annotation.Bean;

/**
 * @author yanzhao
 * @date 2022/5/9 10:55
 * @since 1.0.0
 */
public class BeanConf {

    @Bean
    public Teacher createTeacher() {
        Teacher teacher = new Teacher();
        teacher.setName("大桥");
        return teacher;
    }
}
